.cm-cropper {
    position: relative;
}

.cm-cropper-img-wrap {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.cm-cropper-img {
    position: absolute;
    -webkit-user-select: none;
    user-select: none;
}

.cm-cropper-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--cui-color-overlay-bg);
    cursor: move;
}

.cm-cropper-box {
    position: absolute;
    outline: 1px solid var(--cui-color-primary);
}

.cm-cropper-box-round {
    border-radius: 50%;
}

.cm-cropper-view-box {
    position: absolute;
    inset: 0;
    overflow: hidden;
    cursor: move;
}

.cm-cropper-view-box-round {
    border-radius: 50%;
}

.cm-cropper-box-corner {
    position: absolute;
    background: var(--cui-color-primary);
    width: 10px;
    height: 10px;
    z-index: 1;
}

.cm-cropper-box-corner-tl {
    top: -5px;
    left: -5px;
    cursor: nwse-resize;
}

.cm-cropper-box-corner-tm {
    top: -5px;
    left: 50%;
    margin-left: -5px;
    cursor: ns-resize;
}

.cm-cropper-box-corner-tr {
    top: -5px;
    right: -5px;
    cursor: nesw-resize;
}

.cm-cropper-box-corner-ml {
    top: 50%;
    left: -5px;
    margin-top: -5px;
    cursor: ew-resize;
}

.cm-cropper-box-corner-mr {
    top: 50%;
    right: -5px;
    margin-top: -5px;
    cursor: ew-resize;
}

.cm-cropper-box-corner-bl {
    bottom: -5px;
    left: -5px;
    cursor: nesw-resize;
}

.cm-cropper-box-corner-bm {
    bottom: -5px;
    left: 50%;
    margin-left: -5px;
    cursor: ns-resize;
}

.cm-cropper-box-corner-br {
    bottom: -5px;
    right: -5px;
    cursor: nwse-resize;
}